<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 226
  Date: 2020/12/30
  Time: 10:08
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
    <link rel="stylesheet" href="../css/top.css">
</head>

<body>
<div class="top">
    <div>
        <div>
            <div><img src="${company.logo}"/></div>
            <div>
                <div><img src="../img/icon2_03_uc2a.png" height="30" width="30"/></div>
                <div>${company.phone}</div>
                <%--                el表达式 --%>
            </div>
        </div>
    </div>
    <div>
        <div>
            <c:forEach items="${navModelList}" var="navModel" varStatus="status">
                <div onclick="goto('${navModel.href}')">${navModel.title}</div>
            </c:forEach>
            <%--            <div onclick="goto('home.html')">网站首页</div>--%>
            <%--            <div onclick="goto('company.html')">公司介绍</div>--%>
            <%--            <div onclick="goto('news.html')">新闻信息</div>--%>
            <%--            <div onclick="goto('product.html')">产品信息</div>--%>
            <%--            <div onclick="goto('online.html')">在线留言</div>--%>
            <%--            <div onclick="goto('callus.html')">联系我们</div>--%>
        </div>
    </div>
    <div>
        <div>
            ${company.ad}
        </div>
    </div>
</div>
</body>
</html>
